using Microsoft.EntityFrameworkCore;
using UniversalAdmin.Domain.Entities;

namespace UniversalAdmin.Domain.Repositories;

public interface IDocumentRepository : IRepository<Document>
{
    Task<Document?> GetByIdWithChunksAsync(Guid id);
    Task<IEnumerable<Document>> GetAllWithChunksAsync();
    Task<IEnumerable<DocumentChunk>> GetDocumentChunksByDocumentIdAsync(Guid documentId);
    Task<IEnumerable<DocumentChunk>> GetAllDocumentChunksAsync();
    IQueryable<Document> GetQueryable();
}